<?php /* Smarty version 2.6.22, created on 2012-04-17 16:42:24
         compiled from headerLogin.tpl.html */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it" lang="it" dir="ltr">
<head>
<link rel="shortcut icon" href="images/favicon.png" height="16" >
<title>.: <?php echo $this->_tpl_vars['title']; ?>
 :. <?php echo $this->_tpl_vars['page']; ?>
</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
<link rel="stylesheet" type="text/css" media="screen" href="css/style.css" />
<link rel="stylesheet" type="text/css" media="screen" href="css/calendar.css" />


<?php if ($this->_tpl_vars['keypress'] == 'yes'): ?>
<script type="text/javascript" src=<?php echo $this->_tpl_vars['keypress_file']; ?>
></script>
<?php endif; ?>

<?php if ($this->_tpl_vars['ajax'] == 'yes'): ?>
<script type="text/javascript" src=<?php echo $this->_tpl_vars['ajax_file']; ?>
></script>
<?php endif; ?>

<script type="text/javascript">
/* <![CDATA[ */
	var scrOfY = 0;
	var scrOfX = 0;
<?php echo '
	function _setPosTop(pos) 
	{
		//alert(\'_setPosTop\');
		window.scroll(0,pos);
	}
	
	function _getScrollXY() 
	{
		//alert(\'_getScrollXY\');
		if( typeof( window.pageYOffset ) == \'number\' ) 
		{
			//Netscape compliant
			scrOfY = window.pageYOffset;
			scrOfX = window.pageXOffset;
		} 
		else if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) 
		{
			//DOM compliant
			scrOfY = document.body.scrollTop;
			scrOfX = document.body.scrollLeft;
		} 
		else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) 
		{
			//IE6 standards compliant mode
			scrOfY = document.documentElement.scrollTop;
			scrOfX = document.documentElement.scrollLeft;
		}
		
		if ( document.main.posLeft )
		{
// 			alert(scrOfX);
			document.main.posLeft.value = scrOfX;
			document.main.posTop.value = scrOfY;
		}
	}
'; ?>

/* ]]> */
</script>

</head>

<?php if ($this->_tpl_vars['keypress'] == 'yes'): ?>
<body onKeyPress="keypress(event)" style="background-image: url('images/backLogin.png');">
<?php else: ?>
<body style="background-image: url('images/backLogin.png');">
<?php endif; ?>


<?php if ($this->_tpl_vars['mod'] != ""): ?>
<form id="main" name="main" action="Main.php?mod=<?php echo $this->_tpl_vars['mod']; ?>
&do=<?php echo $this->_tpl_vars['do']; ?>
<?php echo $this->_tpl_vars['extra']; ?>
" method="post" enctype="multipart/form-data">
<?php else: ?>
<form id="main" name="main" action="Main.php" method="post" enctype="multipart/form-data">
<?php endif; ?>

<input type="hidden" id="hSessid" name="hSessid" value="<?php echo $this->_tpl_vars['sessid']; ?>
" style="display: none;" />

<center>
